package com.rock.code.bigdata.platform.controller;

import com.rock.code.base.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author piandu
 * @description
 * @date 2018/12/14
 */
@Controller
@RequestMapping("/SystemView")
public class PlatFormController extends BaseController {


//    @RequestMapping("/{KBP_ID}")
//    public String host(@PathVariable("KBP_ID") String KBP_ID) {
//        this.request.setAttribute("KBP_ID", KBP_ID);
//        return "bigdata/platform/PlatFormView";
//    }

    @RequestMapping("/{CI_TYPE}/{DI_QU}")
    public String host(@PathVariable("CI_TYPE") String CI_TYPE,@PathVariable("DI_QU") String DI_QU) {
        this.request.setAttribute("CI_TYPE", CI_TYPE);
        this.request.setAttribute("DI_QU", DI_QU);
        return "bigdata/platform/IframeView";
    }
}
